package com.techsoul.module.order.pojo.param;

import java.util.Date;

import com.techsoul.common.core.annotation.ExcelField;
import com.techsoul.common.core.pojo.param.BaseSearchParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 销售订单 查询参数
 * 
 * @author liuen
 * @date 2020-12-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SalesOrderSearchParam extends BaseSearchParam {

    @ApiModelProperty("销售订单号")
    private String salesOrderNo;
    @ApiModelProperty("合同号")
    private String contractNo;
    @ApiModelProperty("开单状态")
    private String finStatus;
    @ApiModelProperty("订单类型")
    private String orderType;
    @ApiModelProperty("报错信息")
    private String importErrorMesg;
    @ApiModelProperty("客户主订单号")
    private String custSalesOrderNo;
    @ApiModelProperty("报错信息标识")
    private String errorFlag;
    @ApiModelProperty("订单来源：1:web，2：app，3：微信公众号，4：微信小程序  5 H5手机页面")
    private String sourceType;

    @ApiModelProperty("客户ID")
    private String customerId;

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("实付金额")
    private Double payMoney;

    @ApiModelProperty("优惠金额")
    private Double preMoney;

    @ApiModelProperty("邮费")
    private Double freightFee;

    @ApiModelProperty("支付类型，1、在线支付、0 货到付款")
    private String payType;

    @ApiModelProperty("销售员ID")
    private String salesManId;

    @ApiModelProperty("销售员")
    private String salesMan;

    @ApiModelProperty("交易流水号")
    private String transactionId;

    @ApiModelProperty("付款时间")
    private Date payTime;

    @ApiModelProperty("优惠券ID")
    private String couponId;

    @ApiModelProperty("优惠券抵扣金额")
    private Double couponAmount;

    @ApiModelProperty("数量合计")
    private Integer totalQty;

    @ApiModelProperty("金额合计")
    private Double totalMoney;

    @ApiModelProperty("收货人")
    private String receiver;

    @ApiModelProperty("收货人手机")
    private String receiverPhone;

    @ApiModelProperty("收货人省")
    private String receiverProvince;

    @ApiModelProperty("收货人市")
    private String receiverCity;

    @ApiModelProperty("收货人区")
    private String receiverDistrict;

    @ApiModelProperty("收货人地址")
    private String receiverAddress;

    @ApiModelProperty("买家留言")
    private String buyerMessage;

    @ApiModelProperty("提案/报价文件地址")
    private String quoteUrl;

    @ApiModelProperty("确认提案时间")
    private Date confirmQuoteTime;



    @ApiModelProperty("签订合同时间")
    private Date signContractTime;

    @ApiModelProperty("物流单号")
    private String expressNo;

    @ApiModelProperty("物流公司名称")
    private String expressCompanyName;

    @ApiModelProperty("是否评价")
    private String buyerRate;

    @ApiModelProperty("支付状态")
    private String payStatus;

    @ApiModelProperty("发货时间")
    private Date deliveryTime;

    @ApiModelProperty("发货状态")
    private String deliveryStatus;

    @ApiModelProperty("订单状态")
    private String orderStatus;

    @ApiModelProperty("交易完成时间")
    private Date endTime;

    @ApiModelProperty("交易关闭时间")
    private Date closeTime;

    @ApiModelProperty("所属商户ID")
    private String storeId;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建人名称")
    private String createByName;

    @ApiModelProperty("店铺来源")
    private String storeSource;
    @ApiModelProperty("域")
    private String site;
}
